package com.example.user.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("product_reviews")
public class ProductReview implements Serializable {


    private Integer id;


    private Integer productId;

    private Integer userId;

    private String comment;

    private Integer rating;

    private LocalDateTime createdAt;


}
